@layout("/common/_container.html",{js:["/assets/bothSaleCommit/bothSaleCommit_add.js"]}){

<<div class="layui-body-header">
    <span class="layui-body-header-title">两地销售</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">


            <form id="indentOrderForm" lay-filter="indentOrderForm" class="layui-form  layui-form-pane"
                  action="">
                <input name="poId" type="hidden"/>

                <fieldset class="layui-elem-field">
                    <legend>两地销售</legend>
                    <div class="layui-field-box">

                        <fieldset class="layui-elem-field layui-field-title">
                            <legend>基础信息</legend>
                            <div class="layui-field-box">
                                <div class="layui-form-item pane">
                                    <label class="layui-form-label">申请人<span
                                            style="color: red;">*</span></label>
                                    <div class="layui-input-block">
                                        <input id="poAgent" name="poAgent" placeholder="请输入经办人" type="text"
                                               class="layui-input"
                                               lay-verify="required" required readonly value="${name}"/>
                                    </div>
                                </div>

                                <div class="layui-form-item pane">
                                    <label class="layui-form-label">申请人部门<span
                                            style="color: red;">*</span></label>
                                    <div class="layui-input-block">
                                        <input id="poAgentDept" name="poAgentDept" placeholder="请输入经办人部门"
                                               type="text"
                                               class="layui-input"
                                               lay-verify="required" required readonly value="${dept}"/>
                                    </div>
                                </div>
                            </div>
                        </fieldset>

                        <fieldset class="layui-elem-field layui-field-title">
                            <legend>申请区域信息</legend>
                            <div class="layui-field-box">
                            <div class="layui-form-item pane">
                                <label class="layui-form-label">申请区域定位<span
                                        style="color: red;">*</span></label>
                                <div class="layui-input-block">
                                    <input id="mapSelect" name="customerLongitudeLatitude" placeholder="点击进入地图"
                                           type="text"
                                           class="layui-input"
                                           lay-verify="required" required/>
                                </div>
                            </div>
                            </div>
                            <div class="layui-field-box">
                                <div class="layui-form-item pane">
                                    <label class="layui-form-label">详细地址<span
                                            style="color: red;">*</span></label>
                                    <div class="layui-input-block">
                                        <input id="salesAddr" name="address"
                                               placeholder="请输入购买者收货地址"
                                               type="text"
                                               class="layui-input" lay-verify="required" required/>
                                    </div>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </fieldset>


                <div class="layui-form-item text-right">
                    <button class="layui-btn layui-btn-primary" type="button" id="backPage">取消</button>
                    <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
                </div>
            </form>
        </div>
    </div>
</div>

@}